------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Table
> s_RESTAT/Do_files_Analysis/graphs_0.000428.log
  log type:  text
 opened on:   9 Jan 2025, 23:37:25

. if "`sigma'"=="0.000428" local addstr="";

.   else local addstr="_sigma`sigma'";

. set scheme s2mono;

. graph set window fontface "Times New Roman";

. insheet using Counterfactuals/counter_output_`sigma'.csv;
(22 vars, 11 obs)

. local exp0="Baseline estimates";

. local exp1="Baseline without premium risk";

. local exp2="Community rating, {&beta}=0";

. local exp3="Observed {&beta} with FEs";

. local exp4="Observed {&beta} without FEs";

. local exp5="Full experience rating, {&beta}={&gamma}";

. local exp6="Baseline if individual market";

. label variable year "Years after enrollment";

. forvalues X=0/6 {;
  2.   label variable exp`X'_sd_premium "`exp`X''";
  3.   label variable exp`X'_sd_expend "`exp`X''";
  4.   label variable exp`X'_incomeloss "`exp`X''";
  5. };

. qui forvalues X=0/6 {;

. disp "Baseline risk `certeq0'";
Baseline risk 3014.131030273437

. disp "Baseline no idiosyncratic risk `certeq1'";
Baseline no idiosyncratic risk 2706.224011230469

. disp "Community rating risk `certeq2'";
Community rating risk 1961.805017089844

. disp "Full experience rating risk `certeq5'";
Full experience rating risk 4289.233959960938

. disp "Baseline gain fraction " (1-(`certeq0'-`certeq2')/(`certeq5'-`certeq2'));
Baseline gain fraction .54785902

. disp "FE beta risk `certeq3'";
FE beta risk 2022.635009765625

. disp "Baseline if individual risk `certeq6'; difference " (`certeq6'-`certeq0');
Baseline if individual risk 3293.946008300781; difference 279.81498

. disp "Baseline sd premium `sd_premium0'";
Baseline sd premium 1534.017004394531

. disp "Baseline no idiosyncratic risk sd premium `sd_premium1'";
Baseline no idiosyncratic risk sd premium 878.0761077880859

. disp "Community rating sd premium `sd_premium2'";
Community rating sd premium 0

. disp "Full experience rating  sd premium `sd_premium5'";
Full experience rating  sd premium 1655.720086669922

. qui sum exp0_sd_expend if year==0;

. disp "Initial year SD on expenditures is " r(mean);
Initial year SD on expenditures is 1295.28

.  twoway (connected exp0_sd_premium year, lpattern(solid)) 
> (connected exp1_sd_premium year, lpattern(dash)) 
>   (connected exp2_sd_premium year, lpattern(dash_dot)) 
>  (connected exp5_sd_premium year, lpattern(shortdash)),
>   ytitle(Dollars per year);

. graph export sd_premium`addstr'.pdf, replace;
(file /Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Tables_RESTA
> T/Do_files_Analysis/sd_premium.pdf written in PDF format)

. twoway (connected exp0_sd_expend year, lpattern(solid)) 
>   (connected exp1_sd_expend year, lpattern(dash))
>   (connected exp2_sd_expend year, lpattern(dash_dot))
>   (connected exp5_sd_expend year, lpattern(shortdash)),
>   yscale(range (0 3500)) ylabel (#6) ytitle(Dollars per year);

. graph export sd_expend`addstr'.pdf, replace;
(file /Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Tables_RESTA
> T/Do_files_Analysis/sd_expend.pdf written in PDF format)

. local max=8000;

. if "`sigma'"=="8e-05" local max=1000;

. twoway (connected exp0_incomeloss year, lpattern(solid)) 
>   (connected exp1_incomeloss year, lpattern(dash))
>   (connected exp2_incomeloss year, lpattern(dash_dot))
>   (connected exp5_incomeloss year, lpattern(shortdash)),
>   yscale(range (0 `max')) ylabel(#5) ytitle(Dollars per year);

. graph export incomeloss`addstr'.pdf, replace;
(file /Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Tables_RESTA
> T/Do_files_Analysis/incomeloss.pdf written in PDF format)

. twoway (connected exp2_incomeloss year, lpattern(solid)) 
>   (connected exp3_incomeloss year, lpattern(dash))
>   (connected exp4_incomeloss year, lpattern(dash_dot))
>   (connected exp5_incomeloss year, lpattern(shortdash)),
>   yscale(range (0 `max')) ylabel(#5) ytitle(Dollars per year);

. graph export passthrough_only_incomeloss`addstr'.pdf, replace;
(file /Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Tables_RESTA
> T/Do_files_Analysis/passthrough_only_incomeloss.pdf written in PDF format)

. local max=6000;

. if "`sigma'"=="8e-05" local max=1000;

. twoway (connected exp0_incomeloss year, lpattern(solid)) 
>   (connected exp6_incomeloss year, lpattern(dash)),
>   yscale(range (0 `max')) ylabel(#5) ytitle(Dollars per year);

. graph export indiv_smallgroup_incomeloss`addstr'.pdf, replace;
(file /Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Tables_RESTA
> T/Do_files_Analysis/indiv_smallgroup_incomeloss.pdf written in PDF format)

. log close;
      name:  <unnamed>
       log:  /Users/sebastianfleitas/Dropbox/MULTICHOICE_PROJECT/PREMIUMS_AND_HEALTHSHOCKS/Table
> s_RESTAT/Do_files_Analysis/graphs_0.000428.log
  log type:  text
 closed on:   9 Jan 2025, 23:37:33
------------------------------------------------------------------------------------------------
